package com.yy.wga.goods.service.api.response.live;

import com.alibaba.fastjson.annotation.JSONField;
import com.yy.wga.goods.service.api.response.BaseApiDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class LiveCommissionProductListResp extends BaseApiDTO implements Serializable {

    @JSONField(name = "has_more")
    private boolean hasMore;

    @JSONField(name = "next_key")
    private String nextKey;

    @JSONField(name = "product_list")
    private List<Product> productList;

    @Data
    public static class Product {
        @JSONField(name = "product_id")
        private long productId;

        @JSONField(name = "product_name")
        private String productName;

        @JSONField(name = "product_img_url")
        private String productImgUrl;

        @JSONField(name = "product_price")
        private long productPrice;

        @JSONField(name = "predict_commission_amount")
        private long predictCommissionAmount;
    }

}